#ifndef MEMBER_H
#define MEMBER_H

#include <math.h>
#include "point.h"

class Member {
  private:
    double tensile_strength;
    double compressive_strength;
    Point point1, point2;
    double force;

  public:
    Member();

    double getTensileStrength();
    void setTensileStrength(double);
    double getCompressiveStrength();
    void setCompressiveStrength(double);

    double getForce();
    void setForce(double);

    Point getPoint1();
    void setPoint1(Point val);

    Point getPoint2();
    void setPoint2(Point val);

    double getLength();

    double getRatio1X();
    double getRatio2X();
    double getRatio1Y();
    double getRatio2Y();

    void draw();
};

#endif

